package org.eg.mapper;
import org.eg.entity.User;

public interface UserMapper {


    int save(User user);

    int saveAndGetKey(User user);

    User selectUserById(Integer id);

    User selectUserByUser(User user);

    boolean  updateUserById(User user);

    int deleteUserById(Integer id);
}
